using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("PhaMedicalList")]
    public partial class PhaMedicalList : BaseModel2
    {

        /// <summary>
        /// 收费类别 门诊或住院 主键
        /// </summary>
        [SugarColumn(ColumnName = "Type")]
        public string Type { get; set; }

        /// <summary>
        /// 收费唯一流水号 主键
        /// </summary>
        [SugarColumn(ColumnName = "FeeID")]
        public string FeeID {get; set;} 
            
        /// <summary>
        /// 科室编码
        /// </summary>
        [SugarColumn(ColumnName = "DeptCode")]
        public string DeptCode {get; set;} 
            
        /// <summary>
        /// 药品编码
        /// </summary>
        [SugarColumn(ColumnName = "DrugCode")]
        public string DrugCode {get; set;} 
            
        /// <summary>
        /// 药品名称
        /// </summary>
        [SugarColumn(ColumnName = "DrugName")]
        public string DrugName {get; set;} 
            
        /// <summary>
        /// 数量，最小单位数量，采购为正数，退库为负数
        /// </summary>
        [SugarColumn(ColumnName = "Qty")]
        public decimal Qty {get; set;} 
            
        /// <summary>
        /// 包装数量
        /// </summary>
        [SugarColumn(ColumnName = "PackQty")]
        public decimal PackQty {get; set;} 
            
        /// <summary>
        /// 包装单位
        /// </summary>
        [SugarColumn(ColumnName = "PackUnit")]
        public string PackUnit {get; set;} 
            
        /// <summary>
        /// 最小单位
        /// </summary>
        [SugarColumn(ColumnName = "MinUnit")]
        public string MinUnit {get; set;} 
            
        /// <summary>
        /// 规格
        /// </summary>
        [SugarColumn(ColumnName = "Specs")]
        public string Specs {get; set;} 
            
        /// <summary>
        /// 单价
        /// </summary>
        [SugarColumn(ColumnName = "UnitPrice")]
        public decimal UnitPrice {get; set;} 
            
        /// <summary>
        /// 药品分类 1西药2中成药3草药
        /// </summary>
        [SugarColumn(ColumnName = "FeeCode")]
        public string FeeCode {get; set;}

        /// <summary>
        /// 开单医生编码
        /// </summary>
        [SugarColumn(ColumnName = "DoctorCode")]
        public string DoctorCode {get; set;} 
            
        /// <summary>
        /// 操作人
        /// </summary>
        [SugarColumn(ColumnName = "FeeOperCode")]
        public string FeeOperCode {get; set;} 
            
        /// <summary>
        /// 收费日期
        /// </summary>
        [SugarColumn(ColumnName = "FeeDate")]
        public DateTime FeeDate {get; set;}

        /// <summary>
        /// 住院号
        /// </summary>
        [SugarColumn(ColumnName = "InpatientNo")]
        public string InpatientNo { get; set; }

    }
}